package cn.itlaobing.scope;

public class Car {
	private String carName;
	private Integer age;
	public Car() {
		System.out.println("我执行了");
	}
	public Car(String carName, Integer age) {
		super();
		this.carName = carName;
		this.age = age;
	}
	public String getCarName() {
		return carName;
	}
	public void setCarName(String carName) {
		this.carName = carName;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	
	
}
